import request from "../request"

// 提交订单
function submitOrder(data) {
    return request({
        method:'post',
        url: "/order/submitAction",
        data
    })
}

// 获取订单详情
function getOrderInfo(data) {
    return request({
        url: "/order/detailAction",
        data
    })
}

export {
    submitOrder,
    getOrderInfo,
}